<%@ page contentType="text/html; charset=utf-8" import="com.java.model.UserSession;"%>
<%
UserSession userSession = (UserSession)session.getAttribute("user");

if(userSession != null){
%>
<div data-role="footer" data-id="foo1" data-position="fixed">  
        <div data-role="navbar">  
            <ul>  
                <li><a href="/mobile/main.jsp" rel="external" data-iconpos="bottom" data-icon="grid">Home</a></li>  
                <li><a href="/mobile/mypage.jsp" rel="external" data-iconpos="top" data-icon="star">MyPage</a></li>  
                <!--  <li><a href="/mobile/index.jsp" rel="external" data-icon="gear">LogOut</a></li> -->  
            </ul>  
        </div>  
   </div>
   
 <%} %>    